Example 3: Staged Optimization
============================== 